import java.lang.reflect.Array;
import java.util.Arrays;

public class Work81604 {
    public static void main(String[] args) {
        int a[]=new int[]{10,15,52,41,23,56,89,78,100,152,};
        Arrays.sort(a);
        System.out.println(a[a.length-2]);
    }
}
